﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Services;

namespace HeathCareSystem.wuc
{
    public partial class TimKiemBenh : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void btnTim_Click(object sender, EventArgs e)
        {
            List<LoaiBenhDTO> lst = new List<LoaiBenhDTO>();
            lst = LoaiBenhBUS.TimLoaiBenhTheoTen(txtTenBenh.Text);
            gvBenh.DataSource = lst;
            gvBenh.DataBind();
        }
    }
}